import request from '@/utils/request'

// 生成登录二维码
export function getWxLoginUrl() {
  return request({
    url: '/auth/testWeChat/getWxLoginUrl',
    method: 'get'
  })
}

// 检测二维码扫描
export function checkLogin(times) {
  return request({
    url: '/auth/testWeChat/getRotation/' + times,
    method: 'get'
  })
}
